<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <div id="div">
        {{msg}}<br>
        {{user.name}}<br>
        {{user.age}}
    </div>
<!--需要在new Vue（）前引入-->
<script src="js/vue.js" ></script>
<script >
    new Vue({
        el:'#div',
        data:{
            msg:'hello Vue',
            user:{"name":"Jack","age":24}
        }
    });
</script>
</body>
</html>